package com.lcp.se.entity.data;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

/**
 * 帮助/求助记录
 */
@TableName(value = "record")
public class Record {
    @TableId
    // 唯一id
    private String id;
    // 创建时间
    private Date createTime;
    // 结束时间
    private Date endTime;
    // 创建用户id
    private String fromUserOpenId;
    // 志愿者id
    private String handleUserOpenId;
    // 创建用户头像
    private String fromUserAvatarUrl;
    // 创建用户昵称
    private String fromUserNickName;
    // 志愿者头像
    private String handleUserAvatarUrl;
    // 志愿者昵称
    private String handleUserNickName;
    // 记录类型(预约\视频通话)
    private String type;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }


    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }


    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }


    public String getFromUserOpenId() {
        return fromUserOpenId;
    }

    public void setFromUserOpenId(String fromUserOpenId) {
        this.fromUserOpenId = fromUserOpenId;
    }


    public String getHandleUserOpenId() {
        return handleUserOpenId;
    }

    public void setHandleUserOpenId(String handleUserOpenId) {
        this.handleUserOpenId = handleUserOpenId;
    }


    public String getFromUserAvatarUrl() {
        return fromUserAvatarUrl;
    }

    public void setFromUserAvatarUrl(String fromUserAvatarUrl) {
        this.fromUserAvatarUrl = fromUserAvatarUrl;
    }


    public String getFromUserNickName() {
        return fromUserNickName;
    }

    public void setFromUserNickName(String fromUserNickName) {
        this.fromUserNickName = fromUserNickName;
    }


    public String getHandleUserAvatarUrl() {
        return handleUserAvatarUrl;
    }

    public void setHandleUserAvatarUrl(String handleUserAvatarUrl) {
        this.handleUserAvatarUrl = handleUserAvatarUrl;
    }


    public String getHandleUserNickName() {
        return handleUserNickName;
    }

    public void setHandleUserNickName(String handleUserNickName) {
        this.handleUserNickName = handleUserNickName;
    }


    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Record{" +
                "id='" + id + '\'' +
                ", createTime=" + createTime +
                ", endTime=" + endTime +
                ", fromUserOpenId='" + fromUserOpenId + '\'' +
                ", handleUserOpenId='" + handleUserOpenId + '\'' +
                ", fromUserAvatarUrl='" + fromUserAvatarUrl + '\'' +
                ", fromUserNickName='" + fromUserNickName + '\'' +
                ", handleUserAvatarUrl='" + handleUserAvatarUrl + '\'' +
                ", handleUserNickName='" + handleUserNickName + '\'' +
                ", type='" + type + '\'' +
                '}';
    }
}
